<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head th:include="public/page_css::page_css ('查看任务详情')" />

<body>
<form class="layui-form layui-card-header  layui-card-header-auto" id="searchForm">
    <input type="hidden" class="layui-input" th:value="${yqdhbdid}" id="yqdhbdid" name="yqdhbdid"/>
</form>
<section class="panel panel-padding layui-card-body">
    <div class="pro">
        <table id="table" class="table text-nowrap"></table>
    </div>

</section>
</body>
<div th:include="public/public_js::public_js"></div>

<script>

    layui.use(['list','layer','zzpUtils','jquery','laydate'],function () {
        var zzpUtils= layui.zzpUtils,
            $ = layui.jquery,
            laydate = layui.laydate;
        var form = layui.form;
        window.operateEvent ={

        }
        var $table = zzpUtils.table({
            elem: '#table',
            isApi: true,
            pagination:true,
            url: '/wmsshelves/selectRw',
            columns: [ {
                field: 'lpn',
                title: '托盘码'
            },{
                field: 'show_bh',
                title: '货品编号'
            },{
                field: 'show_mc',
                title: '货品名称'
            },{
                field: 'show_kwid',
                title: '上架库位'
            },{
                field: 'show_hppc',
                title: '批次号'
            },{
                field: 'show_scrq',
                title: '生产日期',
                visible:false
            },{
                field: 'sl',
                title: '收货数',
                visible:false
            }],
            queryParams: function () {//查询条件
                return  zzpUtils.getFormJson($("#searchForm"));
            },
            detailFormatter: function (index, row) {
                return "这里就没有确定过11";
            }
        });
    });

</script>
</html>